home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / intser.exe / INTSER.H < prev   
Text File  |  1990-01-13  |  890b  |  18 lines

  1. /************************************************************************/
  2. /*                                    */
  3. /*    intser.h        Definitions of routines for the        */
  4. /*                interrupt driven serial driver        */
  5. /*                                    */
  6. /************************************************************************/
  7.  
  8. int     ser_int_icount(void);    /* Count of chars in input buffer    */
  9. int     ser_int_ocount(void);    /* Count of chars in output buffer    */
  10. int     ser_int_ofree(void);    /* Count of free space in output buffer    */
  11. void    ser_int_iflush(void);    /* Flushes input buffer            */
  12. void    ser_int_init(int port);    /* Initializes interrupt handler    */
  13. void    ser_int_term(void);    /* Terminates interrupt handler        */
  14. void    ser_int_putc(int c);    /* Sends a character            */
  15. int     ser_int_getc(void);    /* Gets a character            */
  16. void    ser_int_puts(char *s);    /* Sends a string            */
  17. void    ser_int_break(void);    /* Sends a break signal            */
  18.